package com.kehutong.charge.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.kehutong.charge.util.enums.ResidentsTypeEnum;
import com.kehutong.common.entity.DataEntity;
import com.kehutong.common.util.BigDecimalUtils;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

import java.math.BigDecimal;

/**
 * @program: kht
 * @description: ChargeArrears 导出实体
 * @author: jian Ye
 * @create: 2021/8/9
 **/
@ColumnWidth(25)
public class ChargeArrearsExcelVO {

    @ExcelProperty(value="欠费用户")
    private String chargeName;
    @ExcelProperty(value="欠费地址")
    private String billAddress;
    @ExcelProperty(value = "欠费总金额")
    private String amountTotal;
    @ExcelProperty(value = "欠费账单数")
    private Integer configNumberNO;


    public String getChargeName() {
        return chargeName;
    }

    public void setChargeName(String chargeName) {
        this.chargeName = chargeName;
    }

    public String getBillAddress() {
        return billAddress;
    }

    public void setBillAddress(String billAddress) {
        this.billAddress = billAddress;
    }

    public String getAmountTotal() {
        return amountTotal;
    }

    /**特殊处理*/
    public void setAmountTotal(String amountTotal) {
        this.amountTotal = BigDecimalUtils.parse(amountTotal);
    }

    public Integer getConfigNumberNO() {
        return configNumberNO;
    }

    public void setConfigNumberNO(Integer configNumberNO) {
        this.configNumberNO = configNumberNO;
    }
}
